package com.xxx.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
public class EarlyStatistics {
    /**项目名称**/
    @ExcelProperty("项目名称")
    @ColumnWidth(20)
    private String name;
    /**项目编码**/
    @ExcelProperty("项目编码")
    @ColumnWidth(20)
    private String id;
    /**报备事项**/
    @ExcelProperty("报备事项")
    @ColumnWidth(20)
    private String reportingCategory;
    /**项目类别**/
    @ExcelProperty("项目类别")
    @ColumnWidth(20)
    private String classification;
    /**执行金额（万元）**/
    @ExcelProperty("执行金额")
    @ColumnWidth(20)
    private BigDecimal amount;
    /**执行时间**/
    @ExcelProperty("执行时间")
    @ColumnWidth(20)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime executionDate;
    /**预警决策时间**/
    @ExcelProperty("预警决策时间")
    @ColumnWidth(20)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;
    /**重要性**/
    @ExcelProperty("重要性")
    @ColumnWidth(20)
    private Integer significantLevel;
    /**差异性**/
    @ExcelProperty("差异性")
    @ColumnWidth(20)
    private Integer differenceLevel;
    /**缺陷性**/
    @ExcelProperty("缺陷性")
    @ColumnWidth(20)
    private Integer flawLevel;
}
